package com.vq3.digitalizationsoftwareintegrates.MongoDB.Spot_Check;

import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity.MongoDB_S_C_SaveSCDailyContextEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity.MongoDB_S_C_SysAuthAuditMessageEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.Permission_TBEntity;

import java.util.Date;
import java.util.List;

public interface MongoDB_S_C_SaveDailyContextDao {

    boolean saveSCDailyContext(MongoDB_S_C_SaveSCDailyContextEntity s_c_datesEntities);

    List<MongoDB_S_C_SaveSCDailyContextEntity> findS_C_DailyAuditMessage(Permission_TBEntity permission_tbEntity);

    List<MongoDB_S_C_SaveSCDailyContextEntity> findS_C_DailyAuditMessage(Permission_TBEntity permission_TBEntity, Date date,String pointName);

    MongoDB_S_C_SysAuthAuditMessageEntity getUserAudit(String userName);

    boolean auditNGBtnFun(String userName);

    List<MongoDB_S_C_SaveSCDailyContextEntity> findMongoDB_s_c_saveDailyContextEntity(Permission_TBEntity permission_tbEntity);

    List<MongoDB_S_C_SaveSCDailyContextEntity> findMongoDBSCDaily(String pointName, Date stringToDate);

    boolean updateSCDailyContext(MongoDB_S_C_SaveSCDailyContextEntity mongoDB_s_c_saveSCDailyContextEntity);

    boolean deleteS_C_DailyAuditMessage(Permission_TBEntity permission_tbEntity, Date date1, String pointName);

    boolean acceptWorkOrders(Integer uid, String scSailings, String date, String pointName);

    List<MongoDB_S_C_SaveSCDailyContextEntity> findS_C_ExMessage(Permission_TBEntity permission_tbEntity);

    boolean reviseStatusDetermine(String SCStatusSelect, String scSailings, Long date, String pointContent);
}
